package entity;

/**
 * @Auther: fyc
 * @Date: 2019/11/6 11:49
 * @Description:
 */
public class Message {
    private int mid;
    private User uid;
    private User buid;
    private String content;
    private String  msgtime;
    private int yidu;

    public Message(User uid, User buid) {
        this.uid = uid;
        this.buid = buid;
    }

    public Message() {
    }

    public Message(User uid, User buid, String content, String msgtime, int yidu) {
        this.uid = uid;
        this.buid = buid;
        this.content = content;
        this.msgtime = msgtime;
        this.yidu = yidu;
    }

    public int getMid() {
        return mid;
    }

    public void setMid(int mid) {
        this.mid = mid;
    }

    public User getUid() {
        return uid;
    }

    public void setUid(User uid) {
        this.uid = uid;
    }

    public User getBuid() {
        return buid;
    }

    public void setBuid(User buid) {
        this.buid = buid;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getMsgtime() {
        return msgtime;
    }

    public void setMsgtime(String msgtime) {
        this.msgtime = msgtime;
    }

    public int getYidu() {
        return yidu;
    }

    public void setYidu(int yidu) {
        this.yidu = yidu;
    }
}

